package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfStudyTimeDao;
import com.wfcm.entity.WfStudyTimeEntity;
import com.wfcm.service.WfStudyTimeService;



@Service("wfStudyTimeService")
public class WfStudyTimeServiceImpl implements WfStudyTimeService {
	@Autowired
	private WfStudyTimeDao wfStudyTimeDao;
	
	@Override
	public WfStudyTimeEntity queryObject(Integer id){
		return wfStudyTimeDao.queryObject(id);
	}
	
	@Override
	public List<WfStudyTimeEntity> queryList(Map<String, Object> map){
		return wfStudyTimeDao.queryList(map);
	}
	@Override
	public WfStudyTimeEntity queryStudyTime(Map<String, Object> map){
		return wfStudyTimeDao.queryStudyTime(map);
	}
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfStudyTimeDao.queryTotal(map);
	}
	
	@Override
	public void save(WfStudyTimeEntity wfStudyTime){
		wfStudyTimeDao.save(wfStudyTime);
	}
	
	@Override
	public void update(WfStudyTimeEntity wfStudyTime){
		wfStudyTimeDao.update(wfStudyTime);
	}
	
	@Override
	public void delete(Integer id){
		wfStudyTimeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfStudyTimeDao.deleteBatch(ids);
	}
	
}
